package topic;

import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;

import accessers.DataReader;
import interfaces.Subscriber;
import data.DataObject;

public interface Topic extends Serializable, Remote{
	DataObject getDataObject() throws RemoteException;
	void setDataObject(DataObject data) throws RemoteException;
	String getName() throws RemoteException;
	Subscriber getSuscriber() throws RemoteException;
	DataReader getDataReader() throws RemoteException;
}
